package com.haiya.memento.concept;

/**
 * 备忘录模式 - 备忘录
 * 包含一个代表状态对象的state字符串属性
 */
public class Memento {
    private String state;

    public Memento(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
